﻿@if (TempData.ContainsKey("attention"))
{
    <div class="alert alert-block">
        <a class="close" data-dismiss="alert" href="#">x</a>
        <h4 class="alert-heading">Attenion!</h4>
        @TempData["attention"]
    </div>
}
@foreach (string key in new string[] { "success", "attention", "error", "info" })
{
    if (TempData.ContainsKey(key))
    {
    <div class="alert alert-@key">
        @TempData[key]
    </div>
    }
}
